package com.ruoyi.project.hcy.administrations.domain;

import javax.security.auth.message.callback.PrivateKeyCallback;

/**
 * @ClassName Branch
 * @Author 金刚芭比
 * @Date 2020/9/17 10:23
 * @Version 1.0
 *
 *      部门信息表
 *
 */
public class Branch {

    private Long deptId;  //部门Id

    private String deptName;  //部门名称

    private String deptPrincipal;  // 部门负责人

    public Branch() {
    }

    public Branch(Long deptId, String deptName, String deptPrincipal) {
        this.deptId = deptId;
        this.deptName = deptName;
        this.deptPrincipal = deptPrincipal;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptPrincipal() {
        return deptPrincipal;
    }

    public void setDeptPrincipal(String deptPrincipal) {
        this.deptPrincipal = deptPrincipal;
    }

    @Override
    public String toString() {
        return "Branch{" +
                "deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", deptPrincipal='" + deptPrincipal + '\'' +
                '}';
    }
}

